package tako.wisers.com.android.apis.view;

import tako.wisers.com.android.apis.location.GPSManager;

import android.view.View;
import android.view.View.OnClickListener;

import com.google.android.maps.MapActivity;
import com.google.android.maps.MapView;

public class MapViewControl {
	private MapView mMapView;
	private MapActivity activity;

	public MapViewControl(MapActivity activity, MapView mapView) {
		this.mMapView = mapView;
		this.activity = activity;
	}

	public void settingMapView() {
		// Add the map view to the frame
		GPSManager.build(activity, mMapView);

		mMapView.setBuiltInZoomControls(true);
		mMapView.getController().setZoom(15);
		mMapView.setClickable(true);
		mMapView.setEnabled(true);

		mMapView.setBuiltInZoomControls(true);
	}

}
